#ifndef SYSTEM_ORDER_H_
#define SYSTEM_ORDER_H_

#include"screen.h"
#include"display_bmp.h"
#include"font.h"
#include<iostream>
#include<vector>
#include"client.h"
using namespace std;

#define Start_page       0     //开始界面
#define Maininterface    1     //主界面
#define Addmenutoshopcar 2     //界面2 
#define Shopcarinterface 3     //界面3
#define Paymentinterface 4     //界面4




class System_orders:public Screen,public Display_bmp,public Client
{

public:
    System_orders();
    void Update_list_data();
    void Update_BMP_data();
    void touchscreen_slide_handler(int start_x, int start_y, int end_x, int end_y);
    void run();
    void printT();

private:
    vector<Menu*>myMenu;
    vector<Menu*>Menushoppingcar;
    Menu* M;//记录添加进购物车的菜
    int counts;
    int flag;
    int interface_page;
    int Menutotalprice;
};








#endif/*SYSTEM_ORDER_H_*/
